home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 1 / Meeting Pearls Vol 1 (1994).iso / installed_progs / text / faqs / hpux-faq / text0000.txt < prev    next >
Encoding:
Text File  |  1994-06-13  |  59.5 KB  |  1,407 lines

  1. Archive-name: hp-faq
  2. Last-modified: 1993/11/11
  3. Version: 2.5
  4.  
  5. comp.sys.hp.hpux FAQ (Frequently Asked Questions)
  6. -------------------------------------------------
  7. This article contains the answers to some Frequently Asked Questions (FAQ) often
  8. seen in the USENET newsgroup comp.sys.hp.hpux. Discussion in this document
  9. centers around Hewlett-Packard computer systems running  the HP-UX operating
  10. system; the focus tends to be on the series 700  workstations, although topics
  11. are also applicable to series 800 machines, and to a lesser degree, series 300
  12. and 400 machines. It is posted monthly, on or about the 15th. 
  13.  
  14. Many FAQs, including this one, are available via FTP on the archive site
  15. rtfm.mit.edu in the directory pub/usenet/news.answers.   The name under which
  16. this FAQ is archived appears in the Archive-nameline  above (hp-faq).
  17.  
  18. Questions marked with a "+" are new to this issue, and questions with changes
  19. since the last issue are marked by a "!".
  20.  
  21. Submissions, corrections, comments, input, complaints, etc., should be 
  22. directed to Greg Cagle <greg_cagle@mentorg.com>.
  23.  
  24. Disclaimer:
  25. -----------
  26. The content of this article is the sole responsibility of the author and
  27. contributors, and does not necessarily represent their employers or
  28. Hewlett-Packard.
  29.  
  30. TABLE OF CONTENTS:
  31. ------------------
  32. Section 1: FINDING INFORMATION
  33.  
  34. 1.1)   Where can I get a copy of this FAQ file?
  35. 1.2)   Courses on HP-UX.
  36. 1.3)   Interex, The International Association of HP Computer Users.
  37. 1.4)   InterWorks, The International HP Workstation Users Group.
  38. 1.5)   Interex HP Users Conferences 1994.
  39. 1.6)!  InterWorks Conferences 1994.
  40. 1.7)   HP-UX publicly available software from InterWorks.
  41. 1.8)!  Anonymous FTP Sites for HP-UX, and UNIX related software.
  42. 1.9)   Where can I get a "Demo CD" with software for HP-UX?
  43. 1.10)!  HP-UX patch availability and mailing list.
  44. 1.11)   How can I send mail to an "hpdesk" address?
  45. 1.12)   What are the known issues with porting BSD based programs to HP-UX?
  46. 1.13)   Who is this George Carter, and how do I get rid of his posts?
  47.  
  48. Section 2: THIRD PARTY VENDORS
  49.  
  50. 2.1)   Third party vendors for RAM.
  51. 2.2)   Third party vendors for peripherals.
  52.  
  53. Section 3: UTILITIES
  54.  
  55. 3.1)   ASCII to Postscript converter.
  56. 3.2)   How do I make Perl on HP-UX?
  57. 3.3)   What is the status of the various gnu items on HP-UX?
  58.  
  59. Section 4: X WINDOW SYSTEM, OSF/MOTIF, AND HP-VUE
  60.  
  61. 4.1)   X11 Libraries (Athena, etc.) and utilities (imake, etc.).
  62. 4.2)   How can I display an image on the root window with HP-VUE?
  63. 4.3)   How do I get a scroll bar on hpterms?
  64. 4.4)   How can I put a title in my hpterm titlebar?
  65. 4.5)   How come my hpterms keep going away by themselves?
  66. 4.6)   How come my HP X/Motif clients take a LONG time to display on a Sun?
  67. 4.7)   How can I get my login stuff to work under HP-VUE?
  68. 4.8)   How can I get console messages to an hpterm?
  69. 4.9)   What happened to the vuewm key accelerators at VUE 3.0?
  70. 4.10)  How come I can no longer disable the caps lock key with xmodmap?
  71. 4.11)  How come vi behaves strangely in xterms at 9.01?
  72. 4.12)  How do I disable HP-VUE?
  73. 4.13)  What's a good termcap entry for hpterm?
  74. 4.14)  My screen is wedged. What should I do?
  75. 4.15)  How can I get an X client to come up in an alternate workspace?
  76. 4.16)  Where did xline go at 9.01?
  77. 4.17)  How can I get HP-VUE to not override colors?
  78. 4.18)+ How can I override the system default printer in vuepad?
  79.  
  80. Section 5: OPERATING SYSTEM
  81.  
  82. 5.1)   Can I have filenames longer than 14 chars?
  83. 5.2)   How can I tell what filesets have been loaded on my system?
  84. 5.3)   How do I safely remove software from my system?
  85. 5.4)   What's the scoop on HP-UX 9.0/9.01?
  86. 5.5)   How come HP-UX doesn't support root NFS access?
  87. 5.6)   Can I get HP-UX to try DNS before NIS?
  88. 5.7)   How come the LOGnnnn files in /usr/adm keep growing and growing?
  89. 5.8)   How come I can't lock mail or other files on a Sun?
  90. 5.9)   What are the known issues with HP-UX 8.07?
  91. 5.10)  Why are mail files in /usr/mail are owned by daemon instead of the 
  92.        recipient?
  93. 5.11)  How can I tell if I need more than a 2-user license?
  94. 5.12)  How can I tell what patches are loaded in the kernel?
  95. 5.13)  How come I have to hit return after a control-d in the Korn shell? 
  96. 5.14)  How do I boot into single user mode?
  97. 5.15)  How come my Korn shell login hangs?
  98. 5.16)  How can I avoid those annoying copyright notices on login?
  99. 5.17)  How can I turn off quota checking?
  100. 5.18)! What are the issues with HP-UX 9.01?
  101. 5.19)  Why does chown behave differently at 9.01?
  102. 5.20)  How can I track log files and core files?
  103. 5.21)  How much memory can a process use?
  104. 5.22)  How come there's little discussion of DCE?
  105. 5.23)  How can I make a ramdisk?
  106. 5.24)  Where can I get SLIP for HP-UX?
  107. 5.25)  How come I can't lock files across NFS after upgrading to 9.01?
  108. 5.26)  How can I have the resolver look in /etc/hosts before querying DNS?
  109. 5.27)  What's a good strategy for clearing /tmp?
  110. 5.28)+ How can I change the timezone?
  111. 5.29)+ Is there an equivalent for getrusage()?
  112.  
  113. Section 6: COMPILERS AND LINKERS
  114.  
  115. 6.1)   What's a P-FIXUP error mean?
  116. 6.2)   Where is regcmp on HP-UX?
  117. 6.3)   How come the default C compiler is brain dead?
  118. 6.4)!  How do I deal with "too many defines"?
  119. 6.5)   How come I get "_builtin_va_start" undefined when I build with gcc?
  120. 6.6)   How can I tell if something was built debuggable?
  121.  
  122. Section 7: HARDWARE AND PERIPHERALS
  123.  
  124. 7.1)   Are alternate keyboards available for HP workstations?
  125. 7.2)!  How can I play audio CDs on an HP workstation?
  126. 7.3)   How can I enable the LAN interface on a 700?
  127. 7.4)   How can I get an Exabyte to work on an HP?
  128. 7.5)   Is there a "node ID" on a 700?
  129. 7.6)   How can I get a stuck DDS tape out of the drive?
  130. 7.7)   How can I use dump with a DDS tape?
  131. 7.8)   What is the correct major number for DDS drives on 9.01?
  132. 7.9)   How can I set up /dev/audio to point to the external jack on a 700?
  133. --------------------------------------------------------------------------------
  134. Subject:  FINDING INFORMATION
  135. --------------------------------------------------------------------------------
  136. 1.1)   Where can I get a copy of this FAQ file?
  137.  
  138. The comp.sys.hp FAQ file is posted approximately monthly to the comp.sys.hp,
  139. news.answers, and comp.answers newsgroups. It is archived on rtfm.mit.edu in the
  140. pub/usenet directory, and also on the InterWorks archive machine  (see below),
  141. in the comp.hp directory.
  142. --------------------------------------------------------------------------------
  143. 1.2)  Courses on HP-UX.
  144.  
  145. Call the following numbers for information or the latest HP Education Catalog.
  146. U.S.:    1-800-HPCLASS {1-800-472-5277}
  147. Canada:  (416)678-9430
  148. --------------------------------------------------------------------------------
  149. 1.3)  Interex, The International Association of HP Computer Users.
  150.  
  151. Interex
  152. 585 Maude Court
  153. Sunnyvale, CA  94088-3839 USA
  154.  
  155. The focus here is on mainframes and servers, although workstation activities
  156. are increasing.
  157. --------------------------------------------------------------------------------
  158. 1.4)  InterWorks, The International HP Workstation Users Group.
  159.  
  160. InterWorks, formerly the Apollo Domain User's Society (ADUS), was formed to
  161. provide a users group specifically for HP _workstation_ users. The group
  162. publishes a quarterly newsletter, "The Works", holds an annual conference (see
  163. below), and maintains a library of HP-UX (and DOMAIN) software (see below).
  164. Membership is free; please contact Carol Relph for more information:
  165.  
  166. Carol Relph
  167. Manager, Member Services
  168. InterWorks, Inc.
  169. c/o Hewlett-Packard Company
  170. Workstation Business Unit
  171. 300 Apollo Drive, Mailstop IWORKS
  172. Chelmsford, MA  01824-3623
  173. (508)256-6600
  174. E-Mail:  relph_c@apollo.hp.com
  175. --------------------------------------------------------------------------------
  176. 1.5)  Interex HP Users Conferences 1994.
  177.  
  178. For more information, please contact the INTEREX Conference Department.
  179.  
  180. INTEREX Conference Department
  181. 585 Maude Court
  182. P.O. Box 3439
  183. Sunnyvale, CA 94088-3439, USA
  184. (800)INTEREX (U.S. & Canada only)
  185. (408)738-4848
  186. Telex:  4971527
  187. Fax:  (408)736-2156
  188. --------------------------------------------------------------------------------
  189. 1.6)! InterWorks Conferences 1994.
  190.  
  191. The next InterWorks conference is the annual conference, to be
  192. held in April 1994 in Orlando.
  193. --------------------------------------------------------------------------------
  194. 1.7)  HP-UX publicly available software from InterWorks.
  195.  
  196. [ Dave Shaw maintains a library of publicly available HP-UX related software on
  197. behalf of the InterWorks User Group.  Dave Shaw can be reached at (303)443-9413,
  198. or via E-Mail at librarian@iworks.ecn.uiowa.edu. The following is provided by
  199. Dave Shaw, the InterWorks Librarian. I've deleted the specific package
  200. descriptions (getting too long!) see the README mentioned below for details -
  201. Greg]
  202.  
  203. There is an archive of UX-related software on the InterWorks library node
  204. (iworks.ecn.uiowa.edu--128.255.18.10). Note that everything is available  via
  205. anonymous ftp-- in "comp.hp"). The README there contains a complete  list of the
  206. available software. Nearly all of it is also available on a CD for $75.00
  207. ($85.00 outside the U.S.). For ordering information contact  Carol Relph.
  208.  
  209. All of the archive is suitable for the 700 series machines, and I have started
  210. to verify that. Executables are included in some packages. If you take a package
  211. and find that you must build an executable (or do some porting) for your machine
  212. and/or OS level, I would appreciate hearing about your work and receiving a copy
  213. of the executable you built.
  214.  
  215. Note that I have had very little involvement in the writing or packaging  of any
  216. of the items on the list-- they are the result of the work of many  other
  217. people. In particular, note that the available binaries have not been compiled
  218. by me. If you are concerned about running binaries compiled by someone else,
  219. build them yourself with the available source. Also note  that individual
  220. authors may include text regarding the rights of others to use and distribute
  221. their code. 
  222.  
  223. Thanks to all the contributors.
  224. --------------------------------------------------------------------------------
  225. 1.8)! Anonymous FTP Sites for HP-UX, and UNIX related software.
  226.  
  227. Name:      iworks.ecn.uiowa.edu
  228. Address:   128.255.18.10
  229. Contents:  The InterWorks HP-UX Library in the directory "comp.hp" as
  230.            described above. The iworks node also keeps the last 4-6 
  231.            months of comp.sys.hp online (via an InterWorks member logon 
  232.            (see question #5 above). An archive going back to June 1990 
  233.            is available-- contact the InterWorks librarian for details.
  234.            Additionally, a large (~1300 line) "HP-UX Troubleshooting
  235.            Guide" is available under the InterWorks member logon.
  236.  
  237. Name:      ftp.csc.liv.ac.uk
  238. Address:   138.253.42.172
  239. Contents:  Large number of packages ported to HP-UX 8.07 and 9.01
  240.  
  241. Here is an overview of ftp.csc.liv.ac.uk as of Wed 10 Nov 1993:
  242. (The 2 most recently installed packages in each category are in brackets)
  243.  
  244.  39 packages in /hpux9/X11R5/Graphics   (AIcons-1.4 rayshade-4.06)
  245.  33 packages in /hpux8/X11R4/Misc       (xsky-2.01 hman-1.00)
  246.  32 packages in /hpux8/Games            (xblockbuster-1.03 xyahtzee-1.01)
  247.  29 packages in /hpux8/Networking       (c_news-2.May.92 mm-2.5)
  248.  28 packages in /hpux9/Gnu              (make-3.69 gnuplot-3.5)
  249.  27 packages in /hpux9/X11R5/Misc       (xchwindow-1.0 xdiff-1.4)
  250.  25 packages in /hpux9/Games            (xgammon-2.0.7 spider-1.1)
  251.  19 packages in /hpux8/X11R4/Demos      (xball-3.0 xspringies-1.1)
  252.  19 packages in /hpux8/Maths/LinAlgebra (crep-4.Nov.93 rnlib-1.0)
  253.  16 packages in /hpux9/Networking       (nntp-1.5.11t5 gopher-2.09)
  254.  16 packages in /hpux8/X11R4/Toolkits   (andrew-5.1.part04 xf-2.2)
  255.  16 packages in /hpux8/X11R4/Graphics   (xv-2.21 toybox-pre1.3)
  256.  14 packages in /hpux9/X11R5/Core       (xstdcmap-1.6 xmag-5.00)
  257.  14 packages in /hpux8/X11R4/XView3     (ftptool-4.6b3 workman-1.0.2)
  258.  14 packages in /hpux8/Maths/Misc       (eigen-1.01a cdflib.f-1.4)
  259.  13 packages in /hpux9/X11R5/Demos      (xscreensaver-1.20 xroach-1.1vue)
  260.  13 packages in /hpux8/Misc             (pvm-3.1 gaps-5.11)
  261.  12 packages in /hpux9/Sysadmin         (tcl-7.1 expect-5.0.3)
  262.  11 packages in /hpux9/X11R5/Networking (tknews-1.1b freeWAIS-0.202)
  263.  11 packages in /hpux9/Misc             (calls-3.3 shapeTools-1.4)
  264.  11 packages in /hpux8/X11R4/Networking (adcmail-0.9 wais-8b4)
  265.  11 packages in /hpux8/Maths/Gap        (anupq-1.0 nq-1.0)
  266.  10 packages in /hpux9/X11R5/Toolkits   (Xm++-0.53 xtpanel-2.23)
  267.  10 packages in /hpux8/Text             (tr2latex-2.2a transfig-2.1.7)
  268.  10 packages in /hpux8/Sysadmin         (rpasd-2.0 expect-4.7.1)
  269.  10 packages in /hpux8/Languages        (gofer-2.28b scheme-7.1.3)
  270.   9 packages in /hpux8/Users            (xmodem-3.9 es-0.84)
  271.   8 packages in /hpux9/Users            (remind-3.0.10 remind-3.0.9)
  272.   8 packages in /hpux8/X11R4/Core       (MITlib-4.00 appres-1.5)
  273.   7 packages in /hpux9/Text             (nenscript-1.13++ transfig-2.1.8)
  274.   7 packages in /hpux9/Languages        (bwbasic-2.10 swi-1.8.3)
  275.   7 packages in /hpux9/Editors          (asedit-1.2 mxedit-2.12)
  276.   7 packages in /hpux8/X11R5            (XR5src-5.23.part01 XR5built-5.23)
  277.   7 packages in /hpux8/Physics          (fudgit-2.33 asa-1.41)
  278.   7 packages in /hpux8/NeuralNets       (snns-2.0 am-6.0)
  279.   3 packages in /hpux9/NeuralNets       (atree-2.0 som_pak-1.2)
  280.   3 packages in /hpux8/Editors          (ted-2.00 aXe-2.11)
  281. =======================================
  282. 536 packages in total
  283.  
  284. The Liverpool archive supports a gopher server at gopher.csc.liv.ac.uk
  285. (138.253.42.174) and also a mail server at mail-server@csc.liv.ac.uk for
  286. users without access to anonymous FTP.
  287.  
  288. The Interworks and Liverpool sites are now cooperating as follows:
  289.  
  290. 1) The Liverpool archive will carry packages originating from and submitted to
  291.    the Interworks site.  These packages will  be integrated into the  existing
  292.    structure of the archive.
  293.  
  294. 2) Interworks will provide binaries for each of the  packages on the Liverpool
  295.    archive.  These  packages  will be  organised into  a  directory  structure
  296.    matching  that of  the Liverpool  site. *** Note:  This is  not immediately
  297.    available but should be up and running in a few weeks time ***
  298.  
  299. 3) Interworks will continue to provide complete packages (source+binaries) for
  300.    the HP and user-contributed software in its library.
  301.  
  302. Name:      hpux.ask.uni-karlsruhe.de
  303. Address:   129.13.200.57
  304. Contents:  The official German mirror site of ftp.csc.liv.ac.uk
  305.  
  306. Name:      ftp.cae.wisc.edu
  307. Address:   144.92.4.15
  308. Contents:  The official US mirror site of ftp.csc.liv.ac.uk
  309.  
  310. Name:      hpux.cict.fr
  311. Address:   192.70.79.53
  312. Contents:  The official French mirror site of ftp.csc.liv.ac.uk
  313.  
  314. Name:      ftp.prz.tu-berlin.de 
  315. Address:   130.149.62.68
  316. Contents:  Much of the Liverpool archive.
  317.  
  318. Name:      export.lcs.mit.edu
  319. Address:   18.24.0.12
  320. Contents:  The X Window System and contributed clients.
  321.  
  322. Name:      hpcvaaz.cv.hp.com
  323. Address:   15.255.72.15
  324. Contents:  X Window System libraries and utilities.
  325.  
  326. Name:      lut.fi
  327. Address:   157.24.10.8
  328. Contents:  Various in /pub/hpux and /pub/unix/hp-ux
  329.  
  330. Name:      nic.funet.fi
  331. Address:   128.214.6.100
  332. Contents:  Various in /pub/unix/arch/hpux
  333.  
  334. Name:      prep.ai.mit.edu
  335. Address:   18.71.0.38
  336. Contents:  The Free Software Foundation's GNU utilities, etc.
  337.  
  338. Name:      hybrid.irfu.se
  339. Address:   130.238.30.23
  340. Contents:  X11 archive and shared libraries, full imake support,
  341.            and all missing .h files for both X11R4 and R5, dvi2pcl in /pub.
  342.  
  343. Name:      geod.emr.ca
  344. Address:   ?
  345. Contents:  GNU stuff ported to HP-UX 9.x by Pierre Mathieu.
  346.  
  347. Name:      jazz.gsfc.nasa.gov
  348. Address:   ?
  349. Contents:  bathymetry, FFT, graph, pgplot, triangulation, sortroutine
  350.  
  351. Name:      jaguar.cs.utah.edu
  352. Address:   ?
  353. Contents:  FSF compiler/assembler/debugger tools. Code usually
  354.            has PA specific bugfixes/enhancements not yet in the 
  355.            official FSF releases.  Source and binaries available.
  356.            /dist/hpux-symtab.h has symbolic debug format documentation.
  357.            /dist/hpgdb.patch has a gdb patch for HP compilers.
  358. --------------------------------------------------------------------------------
  359. 1.9)  Where can I get a "Demo CD" with software for HP-UX?
  360.  
  361. HP is putting together a new version of LaserPro, which will be
  362. available shortly.
  363. --------------------------------------------------------------------------------
  364. 1.10)  HP-UX patch information and mailing list.
  365.  
  366. To determine what patches are installed:
  367. ---------------------------------------
  368.  
  369. The standard patch installation will leave a directory in /system
  370. that is is name of the patch.  For example, PHSS_3259 creates
  371.  
  372. /system/PHSS_3259
  373.  
  374. $lsf /system/PHSS_3259
  375. CDFinfo     copyright   customize*  index       new/        orig/
  376.  
  377. The orig directory contains the modules that were replaced by the  patch and the
  378. new directory will contain any modules that were not installed for whatever
  379. reason.  
  380.  
  381. This takes up a lot of space, you may want to archive  this directory and remove
  382. the new and orig sub-directories.  You may want to leave the customize file
  383. because it has a list of the modules replaced.
  384. To see the list do:
  385.  
  386.    grep Patch customize | grep -v \#
  387.  
  388. Another place to look is in /etc/filesets:
  389.  
  390. $ls /etc/filesets/PHSS*
  391. /etc/filesets/PHSS_1644  /etc/filesets/PHSS_2695  /etc/filesets/PHSS_3060
  392. ...
  393. ...
  394. /etc/filesets/PHSS_2686  /etc/filesets/PHSS_3032  /etc/filesets/PHSS_3328
  395.  
  396. If someone has removed the /system/PHSS* directories and the PHSS*
  397. entries in /etc/filesets, there is no easy way to tell what patches
  398. are installed.  You can tell if a given patch has been installed by
  399. comparing what(1) and sum(1) outputs with those given in the 
  400. PHSS_nnnn.text file.
  401.  
  402. See question 5.12 about kernel patches. 
  403.  
  404. How to get patches:
  405. ------------------
  406. There are three ways to get patches.
  407.  
  408. If you have a support contract you can call the Response Center (800-633-3600)
  409. and have the patches sent to you on magnetic media.
  410.  
  411. If you have Basic support or Response Center support you can access the Support
  412. Line (support.mayfield.hp.com,192.6.148.19) and down load patches via ftp,
  413. uucp, or kermit. The access can be modem or internet.
  414.  
  415. Regardless of the support you have, you can get patches via e-mail.
  416. For instructions and a one line description of the current patches
  417. send e-mail to hprc_patch@hprc.atl.hp.com with a subject of
  418. p-list <system handle or organization name>
  419. For example:
  420.  
  421. To: hprc_patch@hprc.atl.hp.com
  422. Subject: p-list HP
  423. ---------
  424. p-list HP
  425.  
  426. John Morris of the Atlanta Response Center posts a weekly list of  new patches
  427. on Mondays.  It tells what's  new and what patches are replaced by the new
  428. patches.  
  429.  
  430. Additionally, there is an HP-UX patch mailing list. Here is the announcement
  431. from Bart Muyzer <bartm@cv.ruu.nl>:
  432.  
  433. This is the official announcement of the "HP Patch Descriptions Mailing
  434. List". In short, the purpose of the mailing list is this:
  435.  
  436.  1. If somebody receives a patch from HP, he/she can post the *description* of
  437.     that patch to the mailing list.
  438.  2. Other members now know that a patch exists and can ask HP for "patch xxxx"
  439.     if they think they have a problem .
  440.  3. The patches itself are *never* posted!!!!!!!!
  441.  4. This list only exists as long as HP itself doesn't supply a list of 
  442.     available patches.
  443.  
  444. To reach ALL MEMBERS of the list, send e-mail to:
  445.         hpux-patch@cv.ruu.nl
  446. This is what you might want to do if you receive a new patch :-)
  447.  
  448. To SUBSCRIBE, send e-mail to:
  449.         hpux-patch-request@cv.ruu.nl
  450. PLEASE! Include your e-mail address in the message. Not all mailers generate
  451. proper return addresses.
  452.  
  453. Problems, questions, suggestions and the like should go to this address too.
  454. To ease searching for a patch to a specific problem, I've started to write a
  455. set of tools which I loosely call "pltools". Currently, there's one script
  456. (written in PERL) called plfind, that searches through an unofficial list of
  457. patch descriptions according to user supplied queries. Updates to this list
  458. and to the tools are posted on a semi-regular base. Also, each new member of
  459. the list receives the current distribution upon subscription.
  460.  
  461. The pltools-distribution is also available through anonymus FTP from
  462. ftp.csc.liv.ac.uk [138.253.42.172], directory /hpux/Sysadmin, file
  463. pltools-2.0.0.tar.Z.
  464. --------------------------------------------------------------------------------
  465. 1.11) How can I send mail to an "hpdesk" address?
  466.  
  467. For a person whose DESK address is:
  468.   JANE DOE /HP1234/XY
  469.  
  470. Ignore the subentity (XY) and use the form:
  471.   jane_doe@hp1234.desk.hp.com
  472.  
  473. Send them a test message and tell them to make a note of the return address,
  474. as forming internet addresses on DESK is a little more complicated.  If
  475. there is an X.400 system between you and the DESK person, what you get back
  476. may look like a very strange internet address, but it generally works.
  477.  
  478. [ Thanks to Bob Niland, late of HP, for this information. ]
  479. --------------------------------------------------------------------------------
  480. 1.12)  What are the known issues with porting BSD-based programs to HP-UX?
  481.  
  482. Mike Peterson <system@alchemy.chem.utoronto.ca> periodically posts
  483. his list of BSD-HP tricks to comp.sys.hp. It is also archived on the
  484. iworks FTP site (mentioned above) as "hptricks".
  485. --------------------------------------------------------------------------------
  486. 1.13)  Who is this George Carter and how do I get rid of his posts?
  487.  
  488. George Carter is an ex-HP employee who makes frequent postings to comp.sys.hp
  489. concerning HP business practices.  If you wish to remove his posts and most of
  490. the related followups, then if you are running rn, put the following commands in
  491. your kill file:
  492.  
  493. /George Carter/a:j
  494. /gcarter@infoserv.com/a:j
  495. --------------------------------------------------------------------------------
  496. Subject:  THIRD PARTY VENDORS
  497. --------------------------------------------------------------------------------
  498. 2.1) Third party vendors for RAM.
  499.  
  500. The following vendors are listed in alphabetical order. No guarantees
  501. are made regarding compatibility or relative merit of the vendors.
  502.  
  503. Camintonn                          Clearpoint Research Corporation
  504. 22 Morgan                          1000 E. Woodfield Road, Suite 102
  505. Irvine, CA 92718                   Schaumburg, IL 60173
  506. (800) 843-8336                     (708) 619-9227
  507. (714) 454-6500
  508.  
  509. Concorde Technologies              Dataram
  510. 7966 Arjons Dr. B-201              PO Box 7528
  511. San Diego, CA 92126                Princeton, NJ 08543-7528
  512. (800) 359-0282                     (800) DATARAM
  513. (619) 578-3188                     (800) 799-0071
  514.  
  515. Digitial Micronics                 Eventide
  516. 2075 Corte Del Nogal               1 Alsan Way
  517. Unit N                             Little Ferry, NJ 07643
  518. Carlsbad, CA 92009                 (201) 641-1200
  519.  
  520. Helios Systems                     Herstal Automation
  521. 1996 Lundy Ave                     3171 West Twelve Mile Rd.
  522. San Jose, CA 95131                 Berkley, MI 48072
  523. (408) 432-0292                     (313) 548-2001
  524. (800) 366-0283
  525.  
  526. IEM                                Infotek Systems
  527. P.O. Box 1889                      625 South Lincoln
  528. Fort Collins, CO 80522             Suite 204
  529. (800) 321-4671                     Steamboat Springs, CO 80487
  530. (303) 221-3005                     (800) 767-1084
  531.  
  532. Intelligent Interfaces             ISA Ltd
  533. P.O. Box 1486                      1-1-5 Sekiguchi
  534. Stone Mountain, GA 30086-1486      Bunkyo-Ku
  535. (800) 842-0888                     Tokyo 112 Japan
  536.                                    81-3 (5261) 1160
  537.                                    US Office (Texas)
  538.                                    (713) 493-9925
  539.  
  540. Kelly Computer Systems             Kingston Technology Corporation
  541. 1101 San Antonio Rd.               17600 Newhope Street
  542. Mountain View, CA 94043            Fountain Valley, CA 92708
  543. (415) 960-1010                     (714) 435-2600
  544.  
  545. Martech                            Merida Systems
  546. 1151 W. Valley Blvd.               (617) 933-6790
  547. Alhambra, CA 91803-2493
  548. (800) 582-3555
  549. (818) 281-3555
  550.  
  551. MDL Corporation
  552. 15301 NE 90th St.
  553. Redmond, WA 98052
  554. FAX (206)861-6767
  555. (800)800-3766
  556. (206)861-6700
  557.  
  558. Newport Digital                    R Squared
  559. 14731 Franklin Avenue              11211 E. Arapahoe Rd., Suite 200
  560. Suite A                            Englewood, CO 80112
  561. Tustin, CA 92680                   (303) 799-9292
  562. (714) 730-3644                     (800) 777-3478
  563.  
  564. (Thanks to Roy McMorran <mcmorran@ll.mit.edu>)
  565. --------------------------------------------------------------------------------
  566. 2.2)  Third party vendors for peripherals
  567.  
  568. Vendor              Products
  569. ------              --------
  570. MDL Corporation     Disk, tape, optical, jukebox, EISA expansion, RAID, others.
  571. 15301 NE 90th St.
  572. Redmond, WA 98052
  573. FAX (206)861-6767
  574. (800)800-3766
  575. (206)861-6700
  576. --------------------------------------------------------------------------------
  577. Subject:  UTILITIES
  578. --------------------------------------------------------------------------------
  579. 3.1)  ASCII to Postscript converter.
  580.  
  581. You can get an ASCII to Postscript converter from ftp.uu.net in the file
  582. /usenet/comp.sources.misc/volume10/a2ps3.Z. Additionally, nenscript is available
  583. from various FTP sites.
  584. --------------------------------------------------------------------------------
  585. 3.2) How do I make perl on HP-UX?
  586.  
  587.    Reply like this to Configure:
  588.  
  589.    1. When it asks for optimization flags answer
  590.         +O1 if you have HP-UX 7.05 or less
  591.         -O  if you have HP-UX 8.0 or later.
  592.    2. When it asks for additional flags to cc answer
  593.         -DJMPCLOBBER
  594.    3. When it asks for additional libraries answer
  595.     -lndbm -lm    (ignore the other libraries Configure finds).
  596.       You can also safely add -lBSD if you wan't BSD signal semantics.
  597.    4. When it asks if you wan't to use perl's malloc answer
  598.     y
  599.       If you have HP-UX 8.07 or later you may choose to answer no to this since
  600.       that malloc is OK.
  601.    5. When perl asks on which boundarie a double must be aligned answer
  602.     8    if you are on a 9000/800 or 9000/700 series machine (HP-PA
  603.          architecture).
  604.     2    otherwise (Motorola 68k architecture)
  605. --------------------------------------------------------------------------------
  606. 3.3)  What is the status of the various gnu items on HP-UX?
  607.  
  608. Pierre Mathieu <mathieu@geod.emr.ca> periodically posts a list to comp.sys.hp; 
  609. the last revision is 2.3.
  610. --------------------------------------------------------------------------------
  611. Subject:  X WINDOW SYSTEM, OSF/MOTIF, AND HP-VUE
  612. --------------------------------------------------------------------------------
  613. 4.1)  X11 Libraries (Athena, etc.) and utilities (imake, etc.).
  614.  
  615. As you may have noticed, HP does not ship a "full" set of X11 libraries and
  616. include files, and does not provide imake or associated tools. There is a HP
  617. maintained, but UNSUPPORTED, set of X11R4 libraries and utilities for the HP
  618. 9000 Series 300, 400, 700, and 800.  You can get the libraries, include files,
  619. and config files (imake) via anonymous FTP from hpcvaaz.cv.hp.com (15.255.72.15)
  620. in the directory pub/MitX11R4/libs.s*00.tar.Z. This is also archived on the
  621. iworks node as mentioned above. HP has also submitted X11R5 sources to the
  622. iworks node as mentioned above. And, Bo Thide has X11R4 and R5 support available
  623. via anon. FTP as mentioned above.
  624. --------------------------------------------------------------------------------
  625. 4.2)  How can I display an image on the root window with HP-VUE?
  626.  
  627. Set Vuewm*backdrop*image:   none. Note that there is an explicit pick for this
  628. in the Style Manager with HP-VUE 3.0. When the backdrop is clear, you can use
  629. xloadimage, xsetroot, xv, or the like to display the image of your choice.
  630. --------------------------------------------------------------------------------
  631. 4.3)  How do I get a scroll bar on hpterms?
  632.  
  633. Set the following resources:
  634.  
  635. HPterm*scrollBar:    TRUE
  636. HPterm*saveLines:    1024
  637.  
  638. or some other other arbitrarily large number.  To do this interactively, use
  639. "hpterm -sb -sl 1024". You can also set these in an app-default file
  640. (/usr/lib/X11/app-defaults/HPterm). You can also set saveLines to something
  641. like "4s", which indicates four screens.
  642. --------------------------------------------------------------------------------
  643. 4.4)  How can I put a title in my hpterm titlebar?
  644.  
  645. Here is a two line program that you might find useful:
  646.  
  647. /* Quick and dirty program to put argv[1] in the title bar of an hpterm
  648.    Tom Arons March 1992
  649. */
  650. #include <string.h>
  651. main(argc,argv)
  652.         int argc; char **argv;
  653. {
  654.         printf("\033&f0k%dD%s", strlen(argv[1]), argv[1]);
  655.         printf("\033&f-1k%dD%s", strlen(argv[1]), argv[1]);
  656. }
  657.  
  658. An alternative is:
  659.  
  660. #!/bin/sh
  661. LENGTH=`strlen $1`
  662. echo "&f0k${LENGTH}D$1\c"
  663.  
  664. In case in gets mangled, that's ESC between the first quote and the f0k.
  665.  
  666. strlen, in case you don't have it, comes from:
  667.  
  668. #include <stdio.h>
  669.  
  670. main(argc, argv)
  671.    int argc;
  672.    int *argv[];
  673. {
  674.    if (argc != 2)
  675.       exit(0);
  676.    printf("%d\n", strlen(argv[1]));
  677. }
  678.  
  679. (Thanks to Tom Arons <arons@ash.eecs.ucdavis.edu> and John T. Beck, HP.)
  680. --------------------------------------------------------------------------------
  681. 4.5) How come my hpterms keep going away by themselves?
  682.  
  683. You are probably using the C Shell (/bin/csh) and have autologout set (it is
  684. set to 60 minutes by default).  Put an "unset autologout" in your ".cshrc".
  685.  
  686. If you are using the korn shell it is probably due to the value set for
  687. the shell variable TMOUT.  Set it to 0 (infinite timeout).
  688.  
  689. (Thanks to Jim Sharpe <jms@spatial.com> for the Korn Shell information.)
  690. --------------------------------------------------------------------------------
  691. 4.6) How come my HP X/Motif clients take a LONG time to display on a Sun?
  692.  
  693. The problem is with the OW3 server.  You can request OW3 patch 100444-35 (or
  694. whatever is the current replacement) from Sun to fix the problem. Supposedly
  695. this has been rolled into OW 3.0.1. A workaround is to set the X resource
  696. *useColorObj: False.
  697. --------------------------------------------------------------------------------
  698. 4.7) How can I get my login stuff to work under HP-VUE?
  699.  
  700. When you login  via VUE, VUE  sources  ~/.vueprofile  *INSTEAD  OF* your .login
  701. (csh),  .profile  (sh/ksh),  and other  startup  files.  Whatever actions  are
  702. taken in  ~/.vueprofile  are  persistent  across any  children started  by VUE.
  703. Meaning that if you  symbolic  link  ~/.vueprofile  to your ~/.profile,  then
  704. VUE will source your  ~/.profile  before  starting the window system, and all
  705. children  (hpterms/xterms  and their  interactive shells) will inherit this
  706. environment (prompt variables et al).
  707.  
  708. Documentation indicates your ~/.vueprofile should contain either csh, or sh/ksh
  709. syntax, depending upon what your login shell is.
  710.  
  711. When csh is my login shell, I set my  ~/.vueprofile  to contain only two
  712. lines:
  713.  
  714.     if ( -f /etc/csh.login ) source /etc/csh.login
  715.     if ( -f ~/.cshrc ) source ~/.cshrc
  716.  
  717. When sh/ksh is my login shell, I set my ~/.vueprofile to contain only two
  718. lines:
  719.  
  720.     test -f /etc/profile && . /etc/profile
  721.     test -f ${HOME}/.profile && . ${HOME}/.profile
  722.  
  723. So, before  starting the window  manager and any clients, VUE makes sure that
  724. all my shell startup files are sourced and all the variables I want in my shell
  725. environment are already there and waiting for me.
  726.  
  727. (Thanks to Steve Jumonville, HP)
  728. --------------------------------------------------------------------------------
  729. 4.8) How can I get console messages to go to an hpterm?
  730.  
  731. You can avoid console messages writing to your graphics planes and trashing your
  732. VUE session by starting an hpterm and designating it to receive console
  733. messages, and to de-iconify, when console messages are received.  Put something
  734. like this in your "vue.session*" file under your ~/.vue directory (line wrapped
  735. for readability):
  736.  
  737. # Start up the  Terminal  Console as iconic,  and raise it if any output
  738.  
  739. vuesmcmd -cmd "hpterm -C -iconic -ls -sb -sl 256 -name Console -T Console 
  740. -xrm *mapOnOutputDelay:\ 30 -xrm *mapOnOutput:\ True 
  741. -xrm Console*clientFunctions:\ -close -xrm *workspaceList:\ all"
  742.  
  743. (Thanks to Steve Jumonville, HP)
  744. --------------------------------------------------------------------------------
  745. 4.9)  What happened to the vuewm key accelerators at VUE 3.0?
  746.  
  747. Well, we don't really know. Here's how to set them, though.
  748. Add an entry like this (you can, of course, customize it to your
  749. liking) to your $HOME/.vue/vuewmrc file:
  750.  
  751. Menu VueWindowMenu
  752. {
  753.     "Restore"          _R        Alt<Key>F5         f.normalize
  754.     "Move"             _M        Alt<Key>F7         f.move
  755.     "Size"             _S        Alt<Key>F8         f.resize
  756.     "Minimize"         _n        Alt<Key>F9         f.minimize
  757.     "Maximize"         _x        Alt<Key>F10        f.maximize
  758.     "Lower"            _L        Alt<Key>F3         f.lower
  759.      no-label                                       f.separator
  760.     "Occupy..."        _O        Alt<Key>O          f.workspace_presence
  761.     "Occupy all"       _a        Alt Shift<Key>O    f.occupy_all
  762.      no-label                                       f.separator
  763.     "Remove from WS"   _e        Alt Shift <Key>F4  f.remove
  764.     "Close"            _C        Alt<Key>F4         f.kill
  765. }
  766.  
  767. And then add this resource:
  768.  
  769. Vuewm*windowMenu:       VueWindowMenu
  770.  
  771. And restart the window manager.
  772.  
  773. (Thanks to Bill Bennett, HP)
  774. --------------------------------------------------------------------------------
  775. 4.10)  How come I can no longer disable the caps lock key with xmodmap?
  776.  
  777. A common activity in the past has been to disable the, shall we say, "placement
  778. challenged" caps lock key on the ITF keyboard using a simple xmodmap script.
  779. This no longer works consistently at X11R5/VUE 3.0; the best solution so far:
  780.  
  781. In file ~/.vue/sessions/lite/vue.session:
  782.  
  783. /usr/bin/X11/xmodmap - << EOF
  784.         clear lock
  785.         keycode 55 = Control_L
  786.         keycode 86 = Caps_Lock
  787.         keycode 39 = grave asciitilde guillemotleft guillemotright
  788.         keycode 71 = Escape
  789.         add Lock = Caps_Lock
  790.         add Control = Control_L
  791. EOF
  792.  
  793. This works until logout/login, when Caps Lock toggles the control feature, even
  794. though 'xmodmap -pm' shows that Lock has no assignments. You have to restart the
  795. server to reset completely, which can be automated by setting the value         
  796.  
  797. Vuelogin*terminateServer:   True
  798.  
  799. in the file /usr/vue/config/Xconfig.
  800. --------------------------------------------------------------------------------
  801. 4.11)  How come vi behaves strangely in xterms at 9.01?
  802.  
  803. Apparantly initial invocation of xterm under csh does not set LINES/COLUMNS
  804. correctly, and vi doesn't handle that real well. One workaround is to put the
  805. following in .cshrc:
  806.  
  807. if ( $?WINDOWID ) then
  808.    set noglob;eval `/usr/bin/X11/resize`;unset noglob
  809. endif
  810.  
  811. PHSS_2753 addresses this problem.
  812.  
  813. (Thanks to Raymond Nijssen for the workaround.)
  814. --------------------------------------------------------------------------------
  815. 4.12)  How do I disable HP-VUE?
  816.  
  817. There have been several recommendations on this base thread. Here is one that is
  818. documented for X terminals (it works for workstations too). This takes advantage
  819. of the fact that Vue sets several environment variables for the session, one of
  820. which is USER.
  821.  
  822. Modify the /usr/lib/X11/vue/Vuelogin/Xsession (pre-9.0 HPUX) or the
  823. /usr/vue/config/Xsession (9.0 HPUX and later) file:
  824.  
  825.     1) Go to the portion that contains the coment "Determine the startup
  826.        if the user didn't specify one." -- approximately line 295 in an
  827.        unaltered version of the file.
  828.  
  829.     2) Add a following case statement to fit your needs. It should look
  830.        something like:
  831.  
  832.                    case $USER in
  833.                       martha | joe) startup=${HOME}/.x11start''
  834.                    esac
  835.  
  836. You can add as much or little intelligence to this as you like. The above
  837. assumes that the users' have a .x11start script in their home directory, that
  838. its permissions are correct, etc. You can build in a fallback machanism. For
  839. example, the script will check to see if the user has a .x11start script and if
  840. not, to fallback to /usr/lib/X11/sys.x11start. To see an example of this logic,
  841. do a more(1) on /usr/bin/x11start.
  842.  
  843. The above case statement is documented in Ch 2 of the "HP 700/RX System
  844. Administrators Guide".
  845.  
  846. (Thanks to Bill Morrison, HP)
  847. --------------------------------------------------------------------------------
  848. 4.13)  What's a good termcap entry for hpterm?
  849.  
  850. Although it is not supported for hpterm use, the 262x entry in
  851. /etc/newconfig/termcap will work.
  852.  
  853. (Thanks to Frank Slootweg, HP)
  854. --------------------------------------------------------------------------------
  855. 4.14)  My screen is wedged. What should I do?
  856.  
  857. One thing you can try is to unplug the keyboard for ~5 seconds. Note that
  858. you will have to rerun xset -r to get autorepeat to work after doing this.
  859.  
  860. (Thanks to Paul Liebert, HP.)
  861. --------------------------------------------------------------------------------
  862. 4.15)  How can I get an X client to come up in an alternate workspace?
  863.  
  864. You can try:
  865.  
  866. client -xrm "*workspaceList: <name>"
  867.  
  868. (Thanks to finger@rz.uni-karlsruhe.de)
  869. --------------------------------------------------------------------------------
  870. 4.16)  Where did xline go at 9.01?
  871.  
  872. Well, we don't know where it went, but it's gone, and you can't use the
  873. 8.07 version.
  874. --------------------------------------------------------------------------------
  875. 4.17)  How can I get HP-VUE to not override colors?
  876.  
  877. The Motif library on HP-UX has extra code added to make the default colors
  878. follow the color schemes that the user selects with the vuestyle controls.  This
  879. extra code makes trouble for some applications which don't want this unique and
  880. unexpected behavior.
  881.  
  882. You can prevent the entire color scheme mechanism from being used in an
  883. application by setting "*useColorObj: False" for the application before creating
  884. the first widget.  This can be done by adding the resource to the application
  885. defaults, the fallback resources, or as an extra "-xrm" "*useColorObj: False"
  886. args pair in the argv and argc parameters passed to XtAppInitialize.  If you set
  887. the resource in xrdb it would be best to set it for only specific applications
  888. like "MyApp*useColorObj: False".
  889.  
  890. Setting the useColorObj resource could make programs core dump on some 8.0*
  891. systems.  There is a patch that corrects the core dump.
  892.  
  893. You can use the vue colors and prevent the specific difference between dialog
  894. colors vs.  non-dialog colors by setting a resource that specifies the behavoir
  895. of the color scheme mechanism.  To force the dialogs to use the same colors as
  896. the other windows set the following resources in your app_defaults file or
  897. fallback settings-
  898.  
  899. *primaryColorSetId: 3 
  900. *secondaryColorSetId: 3
  901.  
  902. This sets the dialog or "secondary" colors to the same set as the primary
  903. colors.  This is discussed in the "HP VUE 3.0 User's Guide" in chapter 26.
  904.  
  905. (Thanks to Mike Stroyan, HP.)
  906. --------------------------------------------------------------------------------
  907. 4.18)+ How can I override the system default printer in vuepad?
  908.  
  909. cp /usr/vue/types/vuepad.vf $HOME/.vue/types
  910.  
  911. Edit the file and change the ACTION PRINT_PR_VPAD to:
  912.  
  913. # The PRINT_PR_VPAD action paginates its arguments using pr(1) and prints
  914. # them with lp(1).  It uses arg 2 for a title.  It then removes the temp
  915. # file.  This action is used by the client vuepad.
  916. ACTION PRINT_PR_VPAD
  917.         TYPE            COMMAND
  918.         WINDOW-TYPE     NO-STDIO
  919.         EXEC-HOST       %LocalHost%
  920.         EXEC-STRING     /bin/sh -c "pr -h %Arg_2% %(File)Arg_1% | \
  921.                                 lp -d%"Printer:"%; rm %(File)Arg_1%"
  922.                                    ^^^^^^^^^^^^^^
  923. END
  924.  
  925. This will cause a dialog box to appear to prompt you for a printer name.
  926. However,  if you set LPDEST in your .vueprofile,  then lp will use that
  927. value instead of the system default.
  928.  
  929. (Thanks, Dan Mercer, damercer@mmm.com)
  930. --------------------------------------------------------------------------------
  931. Subject:  OPERATING SYSTEM
  932. --------------------------------------------------------------------------------
  933. 5.1)  Can I have filenames longer than 14 chars?
  934.  
  935. Yes, change to long filenames using /etc/convertfs. You can't go back, though.
  936. Here's how to check if an existing filesystem has long filenames enabled:
  937.  
  938. # tunefs -v /dev/rdsk/XXX | grep magic
  939. magic   95014   clean   FS_OK   time    Tue Mar 23 14:13:01 1993
  940.        \__ if = 95014 then long filenames
  941.         \__ if = 11954 then short filenames
  942.         
  943. (Thanks to Ken Burke.)
  944. --------------------------------------------------------------------------------
  945. 5.2) How can I tell what filesets have been loaded on my system?
  946.  
  947. Check the /etc/filesets directory. There is a file there for each fileset that
  948. has been loaded that summarizes the files in that fileset.  This directory is
  949. used by the /etc/update, /etc/updist, /etc/netdistd, and /etc/rmfn utilities
  950. for loading and unloading software.
  951. --------------------------------------------------------------------------------
  952. 5.3) How do I safely remove software from my system?
  953.  
  954. The _only_ safe way to remove HP software is to use /etc/rmfn.
  955. --------------------------------------------------------------------------------
  956. 5.4) What's the scoop on HP-UX 9.0/9.01?
  957.  
  958. HP-UX 9.0 and 9.01 have now officially released from HP. 9.0 for 700s was a
  959. transition release intended to support early shipments of 715 hardware. The 9.01
  960. Release Notes state that 9.0 and 9.01 have the same API and ABI. They also state
  961. that 9.01 is required for the 725, 735/755, 747i w/VME, 745i w/EISA, 742rt and
  962. 742i, PA-RISC upgrades for 425s and t, 1G, 2G, and 525M add-on disks, and CRX48Z
  963. graphics. 9.01 also includes a software workaround for a low-probability bug in
  964. the PA7100 processor, support fast/wide SCSI, has a new version of IOMAP, and a
  965. new version of Imageview.
  966. --------------------------------------------------------------------------------
  967. 5.5)  How come HP-UX doesn't support NFS root access?
  968.  
  969. HP-UX versions previous to 9.0/9.01 do not support NFS root access to mounted
  970. file systems. This because they are at an old revision of NFS. You *can* hack
  971. your kernel to provide it, but it's dangerous, unsupported, and a security
  972. hole. 9.0/9.01 supports full NFS 4.1 functionality, including NFS root.
  973. --------------------------------------------------------------------------------
  974. 5.6)  Can I get HP-UX to try DNS ahead of NIS?
  975.  
  976.         if the address is the local node's IP add., then NIS or /etc/hosts
  977.                 is used because the IP is reachable and named is not running.
  978.         if the address is the name server's IP add.,
  979.                 if the address is reachable but named is not running, then
  980.                         NIS or /etc/hosts is used (the same reason)
  981.                 if the address is not reachable (eg the node is down) then
  982.                         at 7.0 NIS or /etc/hosts is used;
  983.                         at 8.0 resolution fails
  984.                         at 9.x resolution fails.
  985.                         
  986. It is not clear why "resolution fails" at 8.x and 9.x. 
  987.  
  988. If there are more than one IP address in resolv.conf, no NIS or /etc/hosts
  989. fallback will be used after all addresses are tried and failed.
  990.  
  991. As for additional configuration ... the answer is NO, you can't get it
  992. to try NIS before DNS.
  993.  
  994. (Thanks to Jim O'Shea, HP, and James Thomas, nmsu.edu for additional 9.x info.)
  995. --------------------------------------------------------------------------------
  996. 5.7)  How come the LOGnnnn files in /usr/adm keep growing and growing?
  997.  
  998. The LOGnnnn files in /usr/adm (8.x except 8.02) or /usr/adm/diag (8.02 and 9.0)
  999. are the diagnostic event log files.  Kernel drivers send data to the diagnostic
  1000. system when certain events, usually hw/sw problems, occur.  The diagnostic
  1001. daemons (DIAGMON, DEMLOG, MEMLOGP, DIAGINIT) log the data to these files.  There
  1002. is also a MEMLOG file in the same directories to which MEMLOGP logs memory
  1003. errors.  HP Support uses the logged data to diagnose problems and to predict
  1004. hardware failure.
  1005.  
  1006. If the LOGnnnn files are growing (other than creating a new 40 byte file
  1007. each time the system reboots) then something is wrong with the system.
  1008. Often what is wrong is that the diagnostics system was improperly
  1009. installed.  Check that the following files exist for each node:
  1010.  
  1011.     /etc/mknod /dev/config c 69 0x000000
  1012.     /etc/mknod /dev/dmem   c 27 0x000000
  1013.  
  1014. There are a number of other device files (see /system/CORE-DIAG/customize) but I
  1015. don't believe they are needed for the logging aspect of diagnostics.
  1016.  
  1017. If you examine the contents of the log files that may give a clue as to what's
  1018. wrong.  However, the output is intended for HP Support and factory consumption
  1019. and may not be very intelligible to customers.  To examine a log file:
  1020.  
  1021.     $ sysdiag
  1022.     DUI> logtool
  1023.     LOGTOOL> list log=nnnn
  1024.     LOGTOOL> exit
  1025.     DUI> exit
  1026.  
  1027. where nnnn is the numeric part of the /usr/adm/diag/LOGnnnn file name. The
  1028. utility logtool is safe to use as far as I know but don't run any other
  1029. utilities at the DUI prompt--you could easily adversely affect your system.  If
  1030. you have a support contract I recommend you get them to review your log files.
  1031. There is an extensive help command within sysdiag and logtool.
  1032.  
  1033. If you want to turn off diagnostic logging just remove execution permission for
  1034. the file /usr/diag/bin/DIAGINIT.  Note that if you do this and your system has a
  1035. problem later, not having the records logged to diagnostics by the kernel will
  1036. hamper resolution of the problem.
  1037.  
  1038. Existing log files can be deleted at the cost of losing the data they contain.
  1039. The highest numbered log file is the active log file and should not be deleted.
  1040.  
  1041. There is a sysdiag(1M) man page.  As of 9.0 there is a diaginit(1M) man page
  1042. which documents the various daemons.
  1043.  
  1044. (Thanks to Wayne Krone of HP)
  1045. --------------------------------------------------------------------------------
  1046. 5.8) How come I can't lock mail or other files on a Sun?
  1047.  
  1048. Believe it or not, Sun's lockd is broken at 4.1.x. The proper Sun patch
  1049. number is Patch-ID# 100075-09, called the "lockd jumbo patch".
  1050. --------------------------------------------------------------------------------
  1051. 5.9)  What are the known issues with HP-UX 8.07?
  1052.  
  1053.  abs() is defined in two places for C++, stdlib.h and math.h.
  1054.  the IDL includes do not support C++ (fixed with patch PHNE_0974).
  1055.  PostScript printing from Datebook (week or month) fails.
  1056.  Datebook "View Year" display font is goofy looking and doesn't line up.
  1057.  statd can hang when accessing Apollo objects (fixed with PHNE_0690).
  1058.  automounter crashes when -hosts is specified (fixed with PHNE_0936).
  1059.  virtual memory performance problems (fixed with PHKL_1065).
  1060. --------------------------------------------------------------------------------
  1061. 5.10) Why are mail files in /usr/mail are owned by daemon instead of the 
  1062.      recipient?
  1063.  
  1064. The mail delivery agent /bin/rmail needs to be able to chown(2) these files.
  1065. It cannot do so if you have removed the privilege CHOWN (see setprivgrp(1m);
  1066. removing CHOWN is recommended to prevent cheating on disk quotas).  To get 
  1067. around this, noting that /bin/rmail runs setgid to group mail, you can grant 
  1068. privilege CHOWN to group mail only by inserting the line "mail CHOWN" in 
  1069. /etc/privgroup. The change takes effect on the next reboot, or immediately 
  1070. if you execute the command "setprivgrp -f /etc/privgroup".
  1071.  
  1072. (Thanks to Jim Richardson <jimr@maths.su.oz.au>)
  1073. --------------------------------------------------------------------------------
  1074. 5.11) How can I tell if I need more than a 2-user license?
  1075.  
  1076.     There are several fundamental things to remember about HP-UX licensing:
  1077.  
  1078.     o Series 700 and Series 800 users are now counted the same way
  1079.     o Display console counts as one user
  1080.     o Each ASCII terminal counts as a user, regardless of how it is
  1081.     connected
  1082.     o The LAN connection counts as one user
  1083.  
  1084.     Ascii Terminals
  1085.  
  1086.     The simple rule to remember is any ASCII terminal that is logged in counts
  1087.     as a user.
  1088.  
  1089.     ASCII terminal connections can come in several different forms:
  1090.  
  1091.     o Direct-connected via a serial terminal multiplexer
  1092.     o Connected via Data Terminal Concentrators (DTCs) or via
  1093.     terminal servers
  1094.     o Personal Computers (PCs) acting in terminal emulation mode,
  1095.     whether connected via serial line or via Local Area Network (LAN)
  1096.  
  1097.     X-terminals and workstations
  1098.  
  1099.     When a customer buys an X-terminal or workstation from HP or from 
  1100.     another vendor, HP acknowledges that the customer has also bought a 
  1101.     single Unix license-to-use.
  1102.  
  1103.     Therefore, the customer has the right to an unlimited number of logins and
  1104.     terminal windows _over_the_LAN_ to a Series 700 or Series 800 from either 
  1105.     X-terminals or workstations. These logins can be via X terminal windows
  1106.     (_hpterm_ and _xterm_), _telnet_, _rlogin_, or other means.
  1107.  
  1108.     PC's that use X-terminal emulation software such as XView each count the
  1109.     same as an X terminal. This is because the PC essentially becomes an 
  1110.     X-terminal when it is running the X server software. Therefore, when a PC
  1111.     is running an X-terminal emulator, the PC has the right to an unlimited
  1112.     number of logins to an HP-UX system.
  1113.  
  1114.     Exceptions
  1115.  
  1116.     The policy of counting DTC users is new for the Series 700. Customers who
  1117.     purchased Series 700 systems prior to HP-UX 9.0 shipments (late calendar 
  1118.     1992) and use them as host systems for multiple DTC- connected terminals, 
  1119.     may continue to use those configurations without buying a license upgrade. 
  1120.     An update to HP-UX 9.0 will not lock out these configurations.
  1121.     
  1122. (Thanks to Tony Hart, HP)
  1123. --------------------------------------------------------------------------------
  1124. 5.12) How can I tell what patches are in the kernel?
  1125.  
  1126. "what /hp-ux" will present you with patch strings, which you can compare with
  1127. the strings called out in the patch text file. A typical patch string is:
  1128.  
  1129. PATCH_8.07 nfs_vnops.c 1.15.61.4 92/01/10 PHKL_0736 PHKL_0942
  1130.  
  1131. which shows that PHKL_0942 has been applied to the kernel.
  1132. --------------------------------------------------------------------------------
  1133. 5.13) How come I have to hit return after control-d in the Korn shell?
  1134.  
  1135. You need to set the "viraw" option.
  1136. --------------------------------------------------------------------------------
  1137. 5.14) How do I boot into single user mode?
  1138.  
  1139. Press ESC to stop the auto-boot.
  1140. When the list of boot devices is presented:
  1141.  
  1142. b PX ISL    (where X is your root disc)
  1143.  
  1144. And at the ISL> prompt:
  1145.  
  1146. ISL>  hpux -iS disc(;0)/hp-ux
  1147.  
  1148. The '-iS' are the flags to init which says come up single user.  The rest of
  1149. the command is what the bootprocess does automatically.
  1150.  
  1151. (Thanks to Stuart Jarriel <stuart@TIVOLI.COM>.)
  1152. --------------------------------------------------------------------------------
  1153. 5.15)  How come my Korn shell login hangs?
  1154.  
  1155. This can happen if the user's home directory is across an NFS mount point; you
  1156. can workaround the problem by completely unprotecting (chmod 777) .sh_history,
  1157. or by pointing HISTFILE to somewhere local.
  1158. --------------------------------------------------------------------------------
  1159. 5.16)  How can I avoid those annoying copyright notices on login?
  1160.  
  1161. The following code in /etc/profile prints the copyright notice the first
  1162. time each user logs in:
  1163.  
  1164.     NUMLOGINS=`/etc/last | grep $LOGNAME | wc -l`
  1165.     if [ $NUMLOGINS -lt 2 ]
  1166.     then
  1167.         cat /etc/copyright
  1168.     fi
  1169.     
  1170. And, for /etc/csh.login:
  1171.  
  1172. set NUMLOGINS=`/etc/last | grep $LOGNAME | wc -l`
  1173. if ( $NUMLOGINS<2 ) cat /etc/copyright
  1174.  
  1175. (Actually, each user will get the copyright on their first login after each 
  1176. time the /etc/wtmp file is pruned, but that needn't be often.)
  1177.  
  1178. (Thanks to Paul Gootherts, pdg@cup.hp.com and Steve Dum, steve_dum@mentorg.com)
  1179. --------------------------------------------------------------------------------
  1180. 5.17)  How can I turn off quota checking?
  1181.  
  1182. You can disable the quota binary from executing:
  1183.  
  1184.     chmod -x /usr/bin/quota 
  1185.     
  1186. This disables quotas for 8.x systems; for 9.x systems you need to also
  1187. disable edquota:
  1188.  
  1189.     chmod -x /etc/edquota
  1190.  
  1191. (Thanks to Eric Hamilton, hamilton@cup.hp.com)
  1192. --------------------------------------------------------------------------------
  1193. 5.18)! What are the issues with HP-UX 9.01?
  1194.  
  1195. Some of the things that people have seen with HP-UX 9.01:
  1196.  
  1197. rmfn of the NW-7XX fileset leaves behind an empty directory (/etc/conf/netware)
  1198. and subsequent kernel builds (for patch install) fails until this directory is 
  1199. removed by hand.
  1200.  
  1201. When the length of a macro expansion exceeds an unspecified size, cpp.ansi 
  1202. leaves some macros unexpanded in the output. Patched by PHSS_2199.
  1203.  
  1204. The linker does not traverse shared library search paths itself. Patched
  1205. by PHSS_3011.
  1206.  
  1207. Various X11 problems have been reported including drawing problems
  1208. and memory leaks. Get the latest X server (currently PHSS_3121).
  1209.  
  1210. Various serious C compiler problems have been fixed with PHSS_3015.
  1211.  
  1212. Memory leaks can occur and lock up a system; patch PHKL_2348 may fix it.
  1213.  
  1214. catman will core dump; patch PHCO_2183 fixes it.
  1215.  
  1216. There has been some controversy over the implementation of the dynamic buffer
  1217. cache at 9.01; people have been seeing situations where the cache has grown
  1218. quite large and the syncer takes over the system swapping it out. You can limit
  1219. the growth of the buffer cache to physical memory (default) with patch
  1220. PHKL_2449, or you can disable it altogether with the "bufpages" kernel
  1221. parameter; set bufpages to 10% of your physical memory, e.g. if you have an 
  1222. S700 with 16M of memory, set bufpages to:
  1223.  
  1224. bufpages = 16,000 K physical ram / 4 K per page / 10 (percent ) = 400
  1225.  
  1226. (Thanks to various people, too numerous to mention.)
  1227. --------------------------------------------------------------------------------
  1228. 5.19)  Why does chown behave differently at 9.01?
  1229.  
  1230. chown(2) on symbolic links now chown's the file which the link is pointing to
  1231. instead of the link itself. If you want to go back to the olf behavior, you
  1232. can set the 'hpux_aes_override' parameter to '1'.  This can be done by
  1233. modify /etc/master ('hpux_aes_override AES_OVERRIDE      1') and changing
  1234. the dfile 'hpux_aes_override  1'.  Or by adb'ing the kernel;
  1235. adb -w /hp-ux /dev/kmem
  1236. hpux_aes_override?W 1       # For the /hp-ux
  1237. hpux_aes_override/W 1       # For the current kernel
  1238. $q
  1239.  
  1240. (Thanks to Trond Haugen, HP)
  1241. --------------------------------------------------------------------------------
  1242. 5.20)  How can I track log files and core files?
  1243.  
  1244. At 9.01, SAM allows you to track all standard log files and trim them if
  1245. desired. It will also find all core files on a file system and allow you
  1246. to get rid of them.
  1247. --------------------------------------------------------------------------------
  1248. 5.21)  How much memory can a process use?
  1249.  
  1250. The first limiter is probably swap space.  The combined virtual data space
  1251. of all running processes can't exceed swap size. Run /etc/swapinfo -t and 
  1252. look at the total line.  That's all you have left.
  1253.  
  1254. For FORTRAN programs:
  1255. --------------------
  1256. 1) Increase the kernel's stack limit (maxssiz).  You can do this with
  1257.    sam (Kernel Configuration-> Modify Operating System Parameters->
  1258.    Process Parameters).  The practical limit for user stacks is around
  1259.    80 Mbytes.  Your system probably has an 8 Mbyte limit.  Try 16 Mbytes
  1260.    or 32 Mbytes depending on your expected use.  Give sam a number that
  1261.    is a multiple of the 4096-byte pagesize.
  1262.  
  1263. 2) Change your array allocation.  HP FORTRAN allocates non-common,
  1264.    non-SAVE'd arrays on the process stack.  Common blocks and SAVE'd
  1265.    variables are allocated in the process data segment (with much larger
  1266.    size limits).  If your arrays are declared in the main program and
  1267.    passed to subroutines, you can just SAVE the big ones in the main
  1268.    program, or put them in a common block in the main program, or
  1269.    recompile with -K since -K puts all local variables in the data
  1270.    segment.  (-K is a sledgehammer approach, but it gives you a quick
  1271.    indication that stack size is the issue.)
  1272.  
  1273. 3)  Make sure you have enough swap space.
  1274. -------------------
  1275.  
  1276. (Thanks to Bob Montgomery, HP)
  1277. --------------------------------------------------------------------------------
  1278. 5.22)  How come there's little discussion of DCE?
  1279.  
  1280. DCE (Distributed Computing Environment) is an OSF-based product. HP now
  1281. ships a DCE product. Most of the discussion concerning DCE takes place
  1282. in comp.unix.osf.misc.
  1283. --------------------------------------------------------------------------------
  1284. 5.23)  How can I make a ramdisk?
  1285.  
  1286. THIS IS UNSUPPORTED. Make sure 'ram' is configured into your kernel, and then
  1287. make device files with major 9 (both blcok and char), minor 0xVSSSSS, where V is
  1288. the volume number, SSSSS is the number of sectors in the ram disk, and a sector
  1289. is 256 bytes. For example,
  1290.  
  1291.     mknod /dev/ram1m c 9 0x101000
  1292.     
  1293. makes a 1 meg ram disk. Of course, you have to make a file system on it and
  1294. mount it to make it useful.
  1295.  
  1296. (Thanks to Rob Gardner, HP)
  1297. --------------------------------------------------------------------------------
  1298. 5.24)  Where can I get SLIP for HP-UX?
  1299.  
  1300. On HP workstations, SLIP is called ppl and is a part of the LAN/9000  Link
  1301. product (Thin coax hardware interface + Ethernet/802.3 driver +  TCP/IP
  1302. transport).  Although conceptually a separate "product", the  LAN/9000 Link is
  1303. shipped as part of every HP workstation.
  1304.  
  1305. (Thanks to Mike Taylor, HP)
  1306. --------------------------------------------------------------------------------
  1307. 5.25)  How come I can't lock files across NFS after upgrading to 9.01?
  1308.  
  1309. You may need to replace your /etc/group with the 9.01 version:
  1310.  
  1311. Upgraded 9.01/  Installed
  1312. 8.07 version    9.01 version
  1313.  
  1314. root::0:        root::0:root
  1315. other::1:       other::1:root,hpdb
  1316. bin::2:         bin::2:root,bin
  1317. sys::3:         sys::3:root,uucp
  1318. adm::4:         adm::4:root,adm
  1319. daemon::5:      daemon::5:root,daemon
  1320. mail::6:        mail::6:root
  1321. lp::7:          lp::7:root,lp
  1322. users::20:      users::20:root
  1323.                 nogroup:*:-2:
  1324.                 
  1325. (Thanks to Robin Strong <gandalf@austin.lockheed.com>)
  1326. --------------------------------------------------------------------------------
  1327. 5.26)  How can I have the resolver look in /etc/hosts before querying DNS?
  1328.  
  1329. The resolver will never look in /etc/hosts before it queries the DNS.  But
  1330. YOU can run a named locally that knows only the names/addresses of the
  1331. machines you have in your /etc/hosts file and then pass all others off to
  1332. your site's name server.  This means that you can always know the names of
  1333. machines on your local network, even if the router to the real name server 
  1334. is down.
  1335.  
  1336. What you do is this:
  1337.     1. make your machine a nameserver.
  1338.     2. make sure the resolver points to your machine.  (/etc/resolv.conf)
  1339.     3. put your own /etc/hosts information in a "primary" file
  1340.  
  1341. Because YOU know that the NOC will never change the names/addresses of your
  1342. machines without telling you, you can know that the cache will be correct.
  1343. [ Think about it -- the NOC can't re-use my name or address because first
  1344. _my_ machine has to stop using it. ]
  1345.  
  1346. Here is /etc/named.boot - named reads it to find out what to do:
  1347.  
  1348.     directory       /etc/named.dir  ; running directory for named
  1349.     primary         0.0.127.IN-ADDR.ARPA    db.127.0.0
  1350.     primary         .               local
  1351.     cache           .               db.cache
  1352.  
  1353. In /etc/named.dir/local, list the machines that you have in /etc/hosts.  For
  1354. example:
  1355.  
  1356.     roissy.umd.edu    IN    A    128.8.92.23
  1357.     smoo.umd.edu    IN    A    128.8.92.24
  1358.  
  1359. note:    ^^^name here            ^^^IP number here
  1360.  
  1361.     derf.umd.edu    IN    A    128.8.92.9
  1362.     bear.umd.edu    IN    A    128.8.92.8
  1363.     girlie.umd.edu    IN    A    128.8.92.29
  1364.     toady.umd.edu    IN    A    128.8.92.30
  1365.  
  1366.     elea.umd.edu    CNAME roissy.umd.edu  ; elea is another name for roissy
  1367.  
  1368. ** Warning:  By doing this, you take responsibility for keeping your local
  1369. ** file in sync with the real name server.  This is equivalent to keeping
  1370. ** /etc/hosts up to date.
  1371.  
  1372. To check it, run your named in debugging mode, and use nslookup to look up
  1373. names that are in your /etc/named.dir/local file.  Also look up names that
  1374. are in your domain, but not known locally.  Then read the debugging output
  1375. from named.  It should have answered directly for locally known names and
  1376. passed the query on to another nameserver for unknown names.
  1377.  
  1378. (Thanks to Mark Sienkiewicz <mark@roissy.umd.edu>)
  1379. --------------------------------------------------------------------------------
  1380. 5.27)  What's a good strategy for clearing /tmp?
  1381.  
  1382. Two suggestions (to be run from cron) are:
  1383.  
  1384. find /tmp -depth -hidden -fsonly hfs -atime +1 -exec rm -rf {} \;
  1385.  
  1386. The -depth option ensures no directory is removed before its contents,
  1387. -fsonly hfs is because occasionally I've NFS-mounted stuff there and
  1388. it's better to do the clearing in the machine where it's local,
  1389. and -hidden is in case CDF's appear there for some reason.
  1390.  
  1391. (Thanks to Tapani Tarvainen)
  1392.  
  1393. for i in /tmp /usr/tmp
  1394. do
  1395.   find $i -type f -atime +3 -print -exec rm -f {} \;
  1396.   find $i -type d -atime +3 -print -exec rmdir {} \;
  1397. done
  1398.   
  1399. (Thanks to Rich Jennings, HP)
  1400. --------------------------------------------------------------------------------
  1401. 5.28)+ How can I change the timezone?
  1402.  
  1403. Edit the entry in /etc/src.sh and /etc/src/csh, and reboot.
  1404. --------------------------------------------------------------------------------
  1405. 5.29)+ Is there an equivalent for getrusage()?
  1406.  
  1407.